#include "PhiolLocalDeviceManager.h"

#include <assert.h>
#include <phidget21.h>

namespace Phiol
{

LocalDeviceManager::LocalDeviceManager()
	: DeviceManager()
{
	openLocally();
}

void LocalDeviceManager::openDevice( CPhidgetHandle phidgetHandle, int serialNumber )
{
	int ret = CPhidget_open( phidgetHandle, serialNumber );
	assert( ret==EPHIDGET_OK );
}

}